<div id="{$divName}">
  <form name="{$formName}" action="" method="POST" {if isset($withUpload)}{$withUpload}{/if}>
{if isset($hiddenFields) && $hiddenFields != null}{$hiddenFields}{/if}
    <table>
{$fields}      <tr>
        <td></td>
        <td><input type="submit" name="{$formName}[submit]" /></td>
        <td></td>
      </tr>
    </table>
  </form>
</div>